home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
c4
/
pro21
/
warmboot.c
< prev
next >
Wrap
Text File
|
1992-03-05
|
512b
|
21 lines
/*****************************************************************************
warmboot.c
Developed November 1991 by Larry Reeve
A TurboC program to warm boot an IBM-PC.
******************************************************************************/
#include <dos.h>
void main (void)
{
unsigned int far * Indicator;
void (far * PtrReboot) (void);
Indicator = MK_FP(0x0000,0x0472);
PtrReboot = MK_FP(0xFFFF,0x0000);
*Indicator = 0x1234;
(*PtrReboot) ();
}